Skip to content

docs: document all fields and methods of DFParquetMetadata - #24037

Open
alamb wants to merge 1 commit into
apache:mainfrom
alamb:alamb/dfparquetmetadata-docs
Open

docs: document all fields and methods of DFParquetMetadata#24037
alamb wants to merge 1 commit into
apache:mainfrom
alamb:alamb/dfparquetmetadata-docs

Conversation

@alamb

@alamb alamb commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

DFParquetMetadata had several fields and methods with no doc comments, or only a one-line description, making it hard to understand their purpose without reading the implementation.

What changes are included in this PR?

Add doc comments

Are these changes tested?

No behavior changed, only doc comments were added; existing tests cover the code.

Are there any user-facing changes?

No functional changes; public API doc comments are improved.

@github-actions github-actions Bot added the datasource Changes to the datasource crate label Jul 31, 2026
Add doc comments to every field and method on DFParquetMetadata,
linking to the corresponding arrow-rs ParquetMetaDataReader APIs
where behavior mirrors it (prefetch hint, decryption properties,
page index policy, page index loading).
@alamb
alamb force-pushed the alamb/dfparquetmetadata-docs branch from 0e4b117 to 896c1e7 Compare July 31, 2026 21:53
@alamb alamb added the documentation Improvements or additions to documentation label Jul 31, 2026
@alamb alamb changed the title docs: document all fields and methods of DFParquetMetadata docs: document all fields and methods of DFParquetMetadata Jul 31, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.85%. Comparing base (dbcb5c0) to head (896c1e7).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24037      +/-   ##
==========================================
- Coverage   80.85%   80.85%   -0.01%     
==========================================
  Files        1101     1101              
  Lines      374933   374985      +52     
  Branches   374933   374985      +52     
==========================================
+ Hits       303166   303204      +38     
- Misses      53671    53681      +10     
- Partials    18096    18100       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nuno-faria nuno-faria left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @alamb.

Comment on lines 243 to 252
@@ -203,10 +251,20 @@ impl<'a> DFParquetMetadata<'a> {
})
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: What do you think about adding a small phrase about why the default is retrieving it? Something like "when page_index_policy is not set but there is a cache available, the page index is retrieved to improve the probability of cache hits in future reads" or something along those lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

datasource Changes to the datasource crate documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants